#i was going to write this up anyway but
Explore tagged Tumblr posts
mirqmarq428 · 1 year ago
Text
Powershell syntax is not confusing
(you are just confused because posix compliant shells have corrupted your mind)
> do-action -param "string" $variable (do this first) [type]value
To declare a function:
function do-mythings {
param([int]$argument)
$argument + 5
}
> do-mythings -arg 5
10
That's all you need to get started.
Numbers are just numbers.
Inline math just works. Parentheses for order of operations.
Strings you put in quotes - double quotes allow interpolation, single quotes don't. This is the same as sh.
All variables are prefixed with $s. Even when declaring them. This makes slightly more sense than sh.
A region in {squirrelly braces} gets the [scriptblock] data type. It's like a lambda but comprehensible by mere mortals.
if (test) {success} else {fail} - the test is always executed first because (). Success and fail conditions only depending on the test. They're script blocks. No weird special syntax, if may as well be a user function.
Functions can be named anything, but the convention is Verb-PlaceThing. Not case sensitive.
Named arguments are specified with a single hyphen, like MIT Unix software (xorg for instance). If there is only one parameter the name is optional, etc. Param names can be abbreviated as long as they aren't ambiguous. This is also easy to follow with your own functions, unlike in sh (fricking hate getopt).
Types are inferred dynamically because it's easier to write scripts that way. If you need to force something (variable, expression, whatever) to have a specific type, put it in [brackets] beforehand. The type names are the same as c# and every other post-algol language. For comparison, posix shell only has one type, String.
To make an array, @(item1, item2, etc)
To make a hashtable, @{
key1 = val1
key2 = val2
}
Adding strings concatenates them together. Adding numbers adds their values. If this is not satisfactory, declare their types and it will work.
All expressions are technically objects with properties and methods. $var.property returns the value of that property. $var.invokeMethod() runs the method, which is just a function built into that data type by some poor intern 20 years ago.
Pipes (|) work similarly to sh, but transfer objects. The current object in the pipeline is always the variable $_.
As a bonus, here's a one-liner for opening Internet Explorer on Windows 11 (they lied, it's still there, they will never remove it)
(new-object -com "InternetExplorer.application").visible = $true
COM is an old windows api. Com Objects are just instances of apps. We open internet explorer as a com object.
The parentheses sets that as an expression, and its return value _is_ the exploder. It has properties like visibility, which is $false by default. This is boring so set it to $true. Now we have a real working instance of an app they've been trying to remove for years, because they can't actually remove it merely hide it away. As long as the windows api can parse HTML, this will still work.
70 notes · View notes
daisywords · 1 year ago
Text
One of my biggest nitpicks in fiction concerns the feeding of babies. Mothers dying during/shortly after childbirth or the baby being separated form the mother shortly after birth is pretty common in fiction. It is/was also common enough in real life, which is why I think a lot of writers/readers don't think too hard about this. however. Historically, the only reason the vast majority of babies survived being separated from their mother was because there was at least one other woman around to breastfeed them. Before modern formula, yes, people did use other substitutes, but they were rarely, if ever, nutritionally sufficient.
Newborns can't eat adult food. They can't really survive on animal milk. If your story takes place in a world before/without formula, a baby separated from its mother is going to either be nursed by someone else, or starve.
It doesn't have to be a huge plot point, but idk at least don't explicitly describe the situation as excluding the possibility of a wetnurse. "The father or the great grandmother or the neighbor man or the older sibling took and raised the baby completely alone in a cave for a year." Nope. That baby is dead I'm sorry. "The baby was kidnapped shortly after birth by a wizard and hidden away in a secret tower" um quick question was the wizard lactating? "The mother refused to see or touch her child after birth so the baby was left to the care of the ailing grandfather" the grandfather who made the necessary arrangements with women in the neighborhood, right? right? OR THAT GREAT OFFENDER "A newborn baby was left on the doorstep and they brought it in and took care of it no issues" What Are You Going to Feed That Baby. Hello?
Like. It's not impossible, but arrangements are going to have to be made. There are some logistics.
52K notes · View notes
inkskinned · 3 months ago
Text
this is just my opinion but i think any good media needs obsession behind it. it needs passion, the kind of passion that's no longer "gentle scented candle" and is now "oh shit the house caught on fire". it needs a creator that's biting the floorboards and gnawing the story off their skin. creators are supposed to be wild animals. they are supposed to want to tell a story with the ferocity of eating a good stone fruit while standing over the sink. the same protective, strange instinct as being 7 and making mud potions in pink teacups: you gotta get weird with it.
good media needs unhinged, googling-at-midnight kind of energy. it needs "what kind of seams are invented on this planet" energy and "im just gonna trust the audience to roll with me about this" energy. it needs one person (at least) screaming into the void with so much drive and energy that it forces the story to be real.
sometimes people are baffled when fanfic has some stunning jaw-dropping tattoo-it-on-you lines. and i'm like - well, i don't go here, but that makes sense to me. of fucking course people who have this amount of passion are going to create something good. they moved from a place of genuine love and enjoyment.
so yeah, duh! saturday cartoons have banger lines. random street art is sometimes the most precious heart-wrenching shit you've ever seen. someone singing on tiktok ends up creating your next favorite song. youtubers are giving us 5 hours of carefully researched content. all of this is the impossible equation to latestage capitalism. like, you can't force something to be good. AI cannot make it good. no amount of focus-group testing or market research. what makes a story worth listening to is that someone cares so much about telling it - through dance, art, music, whatever it takes - that they are just a little unhinged about it.
one time my friend told me he stayed up all night researching how many ways there are to peel an orange. he wrote me a poem that made me cry on public transportation. the love came through it like pith, you know? the words all came apart in my hands. it tasted like breakfast.
12K notes · View notes
hinamie · 5 months ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
unconditionally
#my art#jujutsu kaisen#jjk#yuji itadori#megumi fushiguro#itafushi#fushiita#fanart#jjk fanart#jujutsu kaisen fanart#megumi#yuuji#im shaky and numb the way this took years off my life#genuinely cannot believe i thought it was smart to make it a comic i could have stuck at a painting and it would have been fine#but nooooooo in my hubris i thought Surely im an expert at this longform stuff now Surely i can do it :)#and then it killed me it killed me dead this is like over twice as long as the train comic and 4 times as detailed#backgrounds . angles. i yearn fr death.#AND I HAD 2 WRITE THEM ACTUALLY TALKING GGSDH i am actually so insecure abt the way the dialogue flows gomen....#i wanted to add more to it to fix how clipped and rushed i think it reads#but that would mean drawing more expressions would mean drawing more panels would mean more gd hyDRANGEAS#so ultimately i decided 2 have the conversation take the hit because let me tell u.#if i have to draw. one more blue petal i will snap i will lose it#i knew tht would happen n wanted to alleviate some of the pain so i found a few brushes that helped speed up the process#but the thing w a lot of premade flower brushes is they also come preshaded n look uniform in a way that stands out badly against my style#so i had 2 render over them anyway........#yuuji's domain rly putting me through the wringer first the train station now death by a bajillion petals smh#all that to say tho . my labour of love . i am going to take a nap#hina.comic
5K notes · View notes
corkinavoid · 29 days ago
Text
DPxDC Places To Sleep
I've seen many fics and prompts with Homeless Danny, and I've just had a thought: what's the safest place to sleep at night when you a) don't have a home, b) can turn intangible and invisible, and c) are not afraid of mortals' justice system since you're dead and it doesn't really apply to you?
Cop cars.
Cops patrol the streets at night, but really, they mostly just pick a place and stay there until something happens, right? (I mean, I think that's right, I'm not very educated on the matter)
So, say Danny is in Gotham, and he needs a place to sleep, but it's the most crime-ridden city in the world, and sleeping out in the streets is cold and uncomfortable. And sure, he can climb into any car, but he chooses the cop car because, first, it's got a radio, so if the cops get any alerts about him (you can't tell me that GIW wouldn't use the help of local police, they are government agents after all), he will hear it first. Second, it's warm and cozy and soft. Third, and the most important: no one is going to look for him there! It's like hiding in plain sight but even better.
Or, well, it is, until one night the cop car he is sleeping in gets dispatched to some crime scene along with about a dozen others, and it turns out to be some trafficking rink that got busted or whatnot, and there are a lot of people who need to be taken to the GCPD station. So Danny, sleepy and grumpy because he was suddenly woken up, searches for the first still running but empty car, while staying invisible and intangible, and when he finds it, he just crashes in the back seat.
He is very surprised a few minutes later when the motherfucking Batman jumps in the front seat, and at least three of his sidekicks are trying to squeeze themselves in the back.
The Bats are even more surprised when they find a random teenager flickering in and out of visibility in the back seat of Batmobile, his eyes wide as saucers and Lazarus green.
2K notes · View notes
trickstersaint · 2 months ago
Text
i want to introduce you all to a project that is very close to my heart... or lack of one. anyway. for anyone who has ever wanted to play a poem. i'd like you to meet aromanticism
(link opens itch.io - she'll run on html in your browser! please be nice to her!)
3K notes · View notes
apollos-olives · 1 year ago
Text
i want to mention that while yes, the conditions that palestinians live in is horrid, palestine is still a beautiful place.
there are so many stories of people returning from their trip to palestine and all of them saying that they were disgusted and horrified and the living conditions they say the palestinians were in were just awful, and while yes all of that is true, and palestinians do live in ridiculous conditions, i still want to make it clear that palestine is an insanely beautiful place. our mountains are beautiful, our plants are beautiful, our mosques, our churches, our olive trees, our birds. palestine is a beautiful place. it is the birthplace of both christianity and judaism, it is the birthplace of jesus. our temples are astonishing, our food is delicious, our culture is rich, and our diversity is beyond. our dances are beautiful, our clothing, our jewlery, our homes. each and every one of our lives is precious.
go to any palestinian home in the world and you'll see beautiful things. the west wants to get rid of us, to completely decimate every part of our existence, but we will not let them. and we need everyone on our side to help us keep palestine's beauty safe.
8K notes · View notes
chronalshifts · 1 month ago
Text
i think a lot of people are calling viktor’s reaction to waking up changed and then almost immediately leaving for zaun unrealistic and like… yes it would be. for someone whose mind has not been affected by the hexcore. he speaks differently, he hears sky’s voice through its influence, he can no longer feel the cold, or the warmth of jayce’s hug. he walks away from jayce because he can no longer feel the affection that kept them together, and he sees no logical point in remaining when they have no common ground anymore. he might not be a machine externally, exactly, but his mind certainly isn’t human anymore.
1K notes · View notes
bixels · 10 months ago
Text
Tumblr media
Posting a sneak-peak of this now because I'm about to be In The Shit school workload-wise, so this'll take me a while to finish.
Doing some character design exploration/expression sheets for Celestia and Luna. Figuring out Celestia's weird ass anatomy while I'm at it.
3K notes · View notes
xxplastic-cubexx · 11 days ago
Text
Tumblr media
personal happiness or what the fuck ever
bonus:
Tumblr media
#xmen#xmen comics#cherik#charles xavier#erik lehnsherr#professor x#magneto#jeans here too but ssh#snap sketches#i havent posted anything in what feels like forever and i GUESS i have to remind people i do draw sometimes. whatever.#aka in my brain i have at LEAST a five-page doujin where this gets incredibly nsft but i dont have TIME for that these days do i#so for now we get just. these scribbles. ill be able to make something exemplary again someday i swear <- optimistic#i think im going to close my comms off for the rest of december once i get through the batch i have now#which ... doesnt sound hard since the amount i have will probably take me to the end of december anyway 💀#i just need everyone to believe me i have better visions for yaoifying issue 309 .... the opportunity is right there...#like wdym the dream sequence is gon end on a panel of erik's eyes as he reinforces the idea charles needs happiness like scott and jean's..#call up your ex. right now charles.#what got me peeved about this issue is i have no idea what color eriks outfit could be vjaeLVKEJARK its like.#is he wearing a lab coat over a suit .... i think thats the intention ... or maybe it is a trench coat....#idk shit for me to figure out if i ever get the time to explore this thing again#LIKE UGH IM SCREAMING i have Such Visions that i dont have time to execute and theyre killing me#maybe ill just write them down idfk <- trying to write fanfiction ends even worse for me than trying to draw#anyways. im gonna drive myself mad good night everyone#i have to go to a christmas party tomorrow night. later tonight. whatever.#BYE
826 notes · View notes
remxedmoon · 10 days ago
Text
Tumblr media
(You don’t know how much longer you can do this.)
hi the wip for this was absolutely not supposed to blow up. why does that have 1k notes. horrifying. anyways!!!! it’s update time baby!!!! 64 new assets this time around!
so that’s what the caption was supposed to be. this update was already pretty damn big and took a ton of time to make!!! and i was finally done!! but then my hand slipped and now we’re at 143 new assets. super sorry for the delay! That Was Not Supposed To Happen.
i’ll go more indepth below the cut, but this update encompasses all menu/profile art for both isat and sasasaap, battle portraits for sasasaap, every single pixel icon in isat (to my knowledge anyways), the dialogue skipping animations, and a few miscellaneous additions.
also i spent too much time on these to put them below the cut so Please God Look At My Icon Resprites I Spent 16 Hours On Them. enjoy!
Tumblr media Tumblr media
okay first things first. why the hell is this batch 143 assets. so. i HEAVILY underestimated how many times the menu drawings are used in the games. even removing all of the custom art, it’s still ≈30-40 variations! that’s a lot! and once i finally finished everything, i got Posting Anxiety and somehow convinced myself that attempting Animation And Pixel Art (two things i haven’t done in YEARS) would be easier than writing a normal post. so here we are.
the custom art here is pretty much par for the course at this point. extra menu art for bonnie, extra expressions for the party in act 5, we’ve done this enough times that it’s expected. i am aware that bonnie’s custom menu art gets completely covered by the ui. i kept it in because it’s really funny (and also i didn’t feel like extending the sprite (but then the sasasaap version forced me to extend the sprite anyways so Whartever)).
once again, provided a spritesheet for sasasaap’s battle portraits! i do intend to cover both games, it’s just a slightly lower priority atm. unlike isat though, i’ve got Less (read “No”) experience with sasasaap, so there might be more issues with those assets?? apologies if there are, i’ll try to fix any issues that come up!
the Miscellaneous Additions i mentioned above are the sprites used on the teleport map and the loading screen, which is just a tiny version of the skipping animation. they were pretty small, so i figured i might as well get them out of the way!
not actually much to say about the 75 icons surprisingly! i haven’t done pixel art in about 5 years?? and that’s a Travesty actually these were super fun to make. i did make mockups for the overworld sprites earlier, but they aren’t Officially part of the redraws (yet) so they’re getting posted seperately
and also!! some exciting news!! this project might actually become a Proper Published Mod pretty soon!! i’ve been in contact with someone who’s willing to help me get everything set up, and i’ll be getting a Usable Computer around the end of the year!!!! it’ll still be at least a month before it’s up (i’d like to get the enemy art finished beforehand wauaua) but!!! still exciting!
okay, i think that’s everything relevant to the update!! i Definitely can’t fit all of the relevant assets here lol. but i’ll try my best ! please enjoy !!
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
981 notes · View notes
mamawasatesttube · 2 months ago
Text
the whole "jason rules crime alley and none of the other bats are allowed there!!1!" thing is so funny like. tim LITERALLY lives in the theater where bruce's parents died,
897 notes · View notes
anneapocalypse · 2 months ago
Text
Honestly, I think as a fic writer you should take other people's opinions on chapter lengths with a really big grain of salt because everyone has different opinions, preferences, and attention spans and you cannot please everyone and you will get hung up on it if you try. Make your chapters the length you think they should be for the story, break them where it feels right, and other people can do what they want.
974 notes · View notes
nightmareonpeachstreet · 2 months ago
Text
Tumblr media
I love this picture for a couple of reasons
for one:
Tumblr media
"ladies, is it gay to stare lovingly at your wife?" -Dehya, every hour of every day
and two:
Tumblr media
the fact that Kaveh was the one setting the self timer on the kamera but Alhaitham is in the outside position means Alhaitham was canonically saving Kaveh's seat for him. again, very gay behavior.
710 notes · View notes
katabay · 11 months ago
Text
Tumblr media Tumblr media
ONCE UPON A TIME, THERE WAS A KNIGHT...
the visual inspiration for this was a combination of Frederic William Burton's Meeting on the Turret Stairs and also Bernardo Cavallino's The vision of St. Dominic receiving the Rosary from the Virgin
this was supposed to be just a one off illustration to get the thoughts out of my system, but then I started thinking about medieval politics and warfare and plagues and a castle and home as both a place of refuge, a prison, and a tomb, so perhaps they will end up as ex voto characters as well.
you may say, hey! that rosary looks like it has too many beads! it's a fifteen decade rosary, probably. dominicans are really into marian devotions. it works out.
also. spiral style stair cases. oh boy. it was that unexpectedly more difficult than I originally thought it would be to draw. the more I think about it, the less I understand them, even though I had a million photos of the stairs in front of me while I was drawing it.
⭐ I have a tip jar (ko-fi)!
⭐ and other places I’m at! bsky / pixiv / pillowfort /cohost / cara.app
2K notes · View notes
corkinavoid · 1 month ago
Text
DPxDC My Brother in the Mirror
Damian doesn't like mirrors.
He never mentioned the fact to other members of the family, but they are detectives and vigilantes, it's their job to be observant. Which, after so many years, becomes a habit.
Damian doesn't actively avoid the mirrors - he has a mirror in his bathroom, he didn't express any discomfort over going into a mirror labyrinth at some carnival they've attended (he expressed disgust over taking part in something so stupid, in his words, but that's a whole another story), and he actually spent a few minutes in front of the funhouse mirrors when no one was looking, watching his own reflection distort in various ways. He also has no problems with his self-image - he doesn't mind pictures of him taken at any time (unless it's Tim, but that's, again, a whole another story), he's drawn a few self-portraits that were rather accurate and he liked them.
He just doesn't like mirrors. For some reason.
His family, both close and extended, never questioned it. They did some gentle research to see if the dislike was caused by some kind of problem Damian was experiencing without telling anyone, but when they found no proof of that, they've just decided it was some quirk of his. Everyone has quirks. Dick doesn't like eating cereal like a normal person, Tim despises sleep, Steph is at war with any color other than purple.
That is, until one day, Tim witnesses Damian sitting in front of a mirror.
He is not even aware of it - the whole family is having a game night, and through some arguments and rearrangements on the couch, Damian ends up sitting on the left side of it, where his back is turned to one of the three mirrors in the room. Tim, who's lost the last round, is slumping in an armchair nearby, pointedly looking away from the screen where Damian and Jason are enthusiastically competing over the first place in Mario Cart. Of course, Tim can't just not watch it since he needs to know their strategies. But turning back around would also be admitting defeat.
The solution? Easy, watch the screen through the mirror.
Which is when he notices it.
Damian in the mirror doesn't act the same as Damian in the room. Out of the corner of his eye, Tim can see the real Damian moving around, shoving Jason with his elbow, fully concentrated on the game, and yelling something. Damian-in-the-mirror is sitting unnaturally still, the back of his head over the couch unmoving.
Tim forgets all about the game when Damian's reflection starts to turn around. Slowly and carefully, eerie in the way the horror movies are, the boy in the mirror turns his head around like an owl, his neck twisting inhumanely.
His eyes are green. Green like the toxic waste, like Jason's madness, like acid in cartoons, like the Waters of Lazarus.
Damian in the mirror smiles, his unblinking, gliwing eyes fixed on Tim, and his teeth are sharp and pointy, and there are too many of them, humans can't smile this wide.
"-im? Tim!" A hand nudges him in the shoulder, and Tim looks away from the mirror, finding Dick standing over him. The noise of the game room returns all at once, and, wait, when did it become quiet for Tim?.. He must have a strange expression on his face because Dick's easy smile falls slightly, and he frowns, "Is everything okay?"
Tim looks back to the mirror, but the green-eyed boy in the mirror is gone, and the mirror only reflects Damian as he is: sitting on the couch.
"Yeah," Tim shakes his head and forces a smile on his lips, "I just zoned out."
"Okay," Dick pats him on the shoulder and gives him the controller, "It's your turn now."
Tim takes the controller and turns around, facing the screen. Tim throws a quick glance at Damian, who had slid down on the couch so his head would not be in the reflection anymore. Tim sees the cold, warning hint to his eye, a clear do not speak of it message.
Tim doesn't like that the mirror is now behind him.
3K notes · View notes